package com.icss.th.fulltext;

import com.icss.th.common.config.SystemConfig;
import com.icss.th.common.Constants.FULLTEXT_TYPE;
import com.icss.th.fulltext.lucenne.LucenneFullTextSearch;

public class FullTextSearchFactory 
{
	public static IFullTextSearch getInstance()
	{
		String type = SystemConfig.FULLTEXT_TYPE;
		
		if (FULLTEXT_TYPE.LUCENNE.equals(type))
		{
			return new LucenneFullTextSearch();
		}
		else
		{
			return null;
		}
	}
}
